#include "NetElevatorCallsCmd.h"


NetElevatorCallsDownCmd::NetElevatorCallsDownCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::NetPointProtocol;
    this->m_functionCode = FunctionCode;
}

NetElevatorCallsUPCmd::NetElevatorCallsUPCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::NetPointProtocol;
    this->m_functionCode = FunctionCode;
}

NetElevatorCallsQueryCmd::NetElevatorCallsQueryCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::NetPointProtocol;
    this->m_functionCode = FunctionCode;
}

Package NetElevatorCallsDownCmd::toPackage()
{
    Package package;
    package.body().clear();
    package.setFunction(FunctionCode);
    return package;
}
void NetElevatorCallsDownCmd::unPackage(Package package)
{
     Q_UNUSED(package);
}

Package NetElevatorCallsUPCmd::toPackage()
{
    Package package;
    package.body().clear();
    package.setFunction(FunctionCode);
    return package;
}
void NetElevatorCallsUPCmd::unPackage(Package package)
{
    Q_UNUSED(package);
}
Package NetElevatorCallsQueryCmd::toPackage()
{
    Package package;
    package.body().clear();
    package.setFunction(FunctionCode);
    return package;
}
void NetElevatorCallsQueryCmd::unPackage(Package package)
{
    Q_UNUSED(package);
}
